package za.org.jcicada.genss.alarm;

import java.net.URISyntaxException;

import za.org.jcicada.genss.ServiceURN;
import za.org.jcicada.genss.SystemURN;

public class AlarmURN extends ServiceURN {

    /** Serial version ID */
    private static final long serialVersionUID = 1L;
    
    /** Identifying AlarmSubject service URNs */
    public static final String URN_SERVICE_ALARMS = "alarms";
    
//    public AlarmURN(URI alarmURI) {
//    }
    
    public AlarmURN(String urn) throws URISyntaxException {
        super(urn);
        // TODO validate service name
    }
    
    public AlarmURN(SystemURN systemURN, String alarmName) throws URISyntaxException {
        super(URN_SERVICE_ALARMS, systemURN, alarmName);
    }
    
}
